package com.app.model.bean;

import java.io.Serializable;

/**
 * 钱包交易明细实体
 */
public class WalletDetail implements Serializable{

    // 交易类型
    private int type;
    // 交易时间
    private long time;
    // 交易单号
    private String tradeId;
    // 剩余金额
    private double remain;
    // 备注
    private String mark;
    // 交易金额
    private double money;
    // 收入
    public static final int TYPE_IN = 0;
    // 支出
    public static final int TYPE_OUT = 1;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public double getRemain() {
        return remain;
    }

    public void setRemain(double remain) {
        this.remain = remain;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
